import {options, tree} from './defaultOptions'

export default [
  {
    type: 'input',
    title: '输入框',
    col:6,
    labelWidth:'80px',
    props: {}
  },
  {
    type: 'select',
    title: '下拉框',
    col:6,
    labelWidth:'80px',
    props: {},
    options: options
  },
  {
    type: 'date',
    title: '日期',
    col:12,
    labelWidth:'80px',
    props: {}
  },
  {
    type: 'label',
    title: '普通文本',
    labelWidth:'0px',
    props: {}
  },
  {
    type: 'sort',
    title: '排序框',
    labelWidth:'0px',
    props: {}
  },
  {
    type: 'countdown',
    title: '倒计时文本',
    labelWidth:'0px',
    props: {}
  },
  {
    type: 'timeText',
    title: '时间文本',
    labelWidth:'0px',
    props: {}
  },
  {
    type: 'switch',
    title: '开关',
    labelWidth:'0px',
    props: {
      value: false
    }
  },
  {
    type: 'tags',
    title: '标签',
    labelWidth:'0px',
    props: {
      value:"标签"
    }
  },
  {
    type: 'icon',
    title: '图标',
    labelWidth:'0px',
    props: {}
  },
  {
    type: 'image',
    title: '图片',
    labelWidth:'0px',
    props: {}
  },
  {
    type: 'button',
    title: '按钮',
    labelWidth:'0px',
    props: {
      value:"按钮"
    }
  },
  {
    type: 'buttons',
    title: '按钮组',
    labelWidth:'0px',
    children:[
      {
        type: 'button',
        title: '按钮',
        labelWidth:'0px',
        prop: '1',
        props: {
          value:"按钮"
        }
      }
    ],
    props: {}
  },
  {
    type: 'dropdown',
    title: '下拉菜单',
    labelWidth:'0px',
    props: {}
  },
]
